package com.hao.mapper;

import com.hao.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface UserMapper {
    User selectall();
    User selectbyname(String username);
    Integer add(User user);
    Integer delete(Integer id);
    Integer update(User user);
}
